home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / ctutor2.zip / TEST.BAT < prev    next >
DOS Batch File  |  1987-07-04  |  617b  |  32 lines

  1. echo off
  2. :first
  3. WHATNEXT What mode do you want to try? (S, M, L, or H) SMLH
  4. if errorlevel 4 goto huge
  5. if errorlevel 3 goto large
  6. if errorlevel 2 goto medium
  7. if errorlevel 1 goto small
  8.  
  9. WHATNEXT Do you really want to quit? (Y/N) YN
  10. if errorlevel 2 goto first
  11. goto done
  12.  
  13. :small
  14. echo message - This is the small selected
  15. goto first
  16.  
  17. :medium
  18. echo message - This is the medium selected
  19. goto first
  20.  
  21. :large
  22. echo message - This is the large selected
  23. goto first
  24.  
  25. :huge
  26. echo message - This is the huge thing selected
  27. goto first
  28.  
  29. :done
  30. echo message - This is the end of this silly routine
  31. echo on
  32.